package com.sgzn.sgpay.model.request;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;

/**
 * 商户基础信息更新请求
 * @author zhongzhongyong
 * @version Id: SgsMerchantBaseInfoUpdateRequest.java, v 0.1 2018/4/17 21:58 zhongzhongyong Exp $$
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString(callSuper = true)
public class SgsMerchantBaseInfoUpdateRequest extends SgsMerchantBaseRequest{

    /**
     * 商户名
     */
    @Length(max = 32)
    @NotBlank(message = "商户名不能为空")
    private String merchantName;

    /**
     * 商户负责人
     */
    @Length(max = 32)
    private String merchantOwner;

    /**
     * 联系方式
     */
    @Length(max = 32)
    private String contact;

    /**
     * 登录密码
     */
    @Length(max = 128)
    private String password;

}
